package br.com.gip.business.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.com.gip.business.AnaliseImpactoBusiness;
import br.com.gip.business.RelacionamentoBusiness;
import br.com.gip.repository.model.Artefato;

@Service
public class AnalisarImpactoBusinessImpl implements AnaliseImpactoBusiness {

	private static final long serialVersionUID = 4989902145498055107L;

	@Autowired
	private RelacionamentoBusiness relacionamentoBusiness;
	
	@Override
	public List<Artefato> analisarImpacto(Artefato artefato) {
		return this.relacionamentoBusiness.buscarDependencias(artefato);
	}
	
}
 